package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.base.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

public interface CourierService {
    Page<Courier> findPageData(Specification<Courier> specification, Pageable pageable);


    void save(Courier courier);

    Page<Courier> findPageData(Pageable pageable);

    void delBatch(String[] idsArray);

    void restore(String[] idsArray);


    List<Courier> findAll();

}
